projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
331be89
)
Simplify `image-dired-dired-file-marked-p'
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 6 Sep 2021 10:10:37 +0000
(12:10 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 6 Sep 2021 10:10:37 +0000
(12:10 +0200)
* lisp/image-dired.el (image-dired-dired-file-marked-p): Use
`dired-re-mark' instead of open-coding the opposite regexp (bug#14925).
lisp/image-dired.el
patch
|
blob
|
history
diff --git
a/lisp/image-dired.el
b/lisp/image-dired.el
index cf878ae12232c1f338bc16fccc888dc0b1a893e4..b92a9371ec24d1ae951a9bb5f90e69d08daac1da 100644
(file)
--- a/
lisp/image-dired.el
+++ b/
lisp/image-dired.el
@@
-1387,7
+1387,7
@@
comment."
"Check whether file on current line is marked or not."
(save-excursion
(beginning-of-line)
- (
not (looking-at "^ .*$")
)))
+ (
looking-at-p dired-re-mark
)))
(defun image-dired-modify-mark-on-thumb-original-file (command)
"Modify mark in dired buffer.